projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd3ebe
)
Fixed segfault with nameless wpts
author
parkrrrr
<parkrrrr>
Sat, 15 Oct 2005 17:59:16 +0000
(17:59 +0000)
committer
parkrrrr
<parkrrrr>
Sat, 15 Oct 2005 17:59:16 +0000
(17:59 +0000)
shape.c
patch
|
blob
|
history
diff --git
a/shape.c
b/shape.c
index 4440374df189422623b45c23c5903d46b81cac82..6ac97522e0fb692b0bb04a82c19b591b45ce2e80 100644
(file)
--- a/
shape.c
+++ b/
shape.c
@@
-84,7
+84,7
@@
my_read(void)
wpt = waypt_new();
wpt->latitude = shp->dfYMin;
wpt->longitude = shp->dfXMin;
- wpt->shortname = strdup(name);
+ wpt->shortname =
x
strdup(name);
waypt_add(wpt);
}